﻿@model Web.Models.LoginViewModel

@{
    ViewBag.Title = "Login";
    ViewBag.FirstHalf = "одно ";
    ViewBag.SecondHalf = "окно";
}

<h2>Вход</h2>

<div>
    @using (Html.BeginForm())
    {
        <p>@Html.ValidationSummary(true)</p>
        <p>
            Логин:<br />@Html.TextBoxFor(x => x.LoginName) @Html.ValidationMessageFor(x => x.LoginName)
        </p>
        <p>
            Пароль:<br/>@Html.EditorFor(x => x.Password) @Html.ValidationMessageFor(x => x.Password)
        </p>
        <input type="submit" id="LoginButton" value="Вход"/>
    }
</div>


@section Menu{
    <div id="lefty">
        <img src="~/Content/images/Window.jpg" width="170" height="170"/>
    </div>
}
